<template>
    <p v-for="(item,index) in arr" :key="index">
        索引值:{{ index }} --- 元素的内容是:{{ item }}
    </p>
    <div>
     <V-If></V-If>
     </div>
</template>
<script setup>
import VIf from './VIf.vue';
import LocalCom from './LocalCom.vue';
    const arr = ["HTML","CSS","JavaScript","JQuery","Vue"]
</script>
<style scoped>

</style> 